const track = (app: {
	directive: (
		arg0: string,
		arg1: {
			mounted(el: any, binding: any): void;
			unmounted(el: any, binding: any): void;
		},
	) => void;
}) => {
	app.directive('focus', {
		mounted(el: any, binding: any) {
			el.addEventListener('click', () => {
				console.log('点击了', binding.value)
			})
		},
		unmounted(el: any, binding: any) {
			console.log(el, binding)
		}
	})
}

export default (app: any) => {
	track(app)
}
